//
//  PictureToAdd.swift
//  Fancyswap
//
//  Created by Jonathan Muschalle on 2015-03-07.
//  Copyright (c) 2015 Jonathan Muschalle. All rights reserved.
//

import UIKit

protocol PictureToAdd {
    
    func isDummyPicture() -> Bool
    
    func getPath() -> String
    
    func getImageObject() -> UIImage
    
    func getUniqueName() -> String
    
    func pictureDidUpload()
    
    func isPictureUploaded() -> Bool
    
    func updateUploadProgress(progress: Float)
    
    func getUploadProgress() -> Float
    
    class func createDummyPicture() -> PictureToAdd
    
    class func createPictureFromUrl(url: String) -> PictureToAdd
    
    class func createPictureFromImageObject(image: UIImage) -> PictureToAdd

}
